﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gonte.Web.Json
{
    /// <summary>
    /// Editor to handle a collection of strings
    /// </summary>
    public class StringCollectionEditor
    {
        public StringCollectionEditor()
        {
            type = "combobox";
            typeAhead = true;
            triggerAction = "all";
            lazyRender = true;
            listClass = "x-combo-list-small";
        }

        public string type { get; private set;  }

        public bool typeAhead { get; set; }

        public string triggerAction { get; set; }

        public string transform { get; set; }

        public bool lazyRender { get; set; }

        public string listClass { get; set; }
    }
}
